﻿@model Wikimentation.Areas.Wikimentation.Models.WikiPage

@using (Ajax.BeginForm("Edit", "Main", null, new AjaxOptions
{
    UpdateTargetId = "wmpage" + Model.Id,
    HttpMethod = "post"

}, new { id = "wikieditform" }))
{

    @Html.HiddenFor(model => model.Id)
    @Html.EditorFor(model => model.Title)
    <p>
        @Html.TextArea("content", Model.Content, null)
    </p>
       
    <input type="submit" value="Save" />
}